﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HCM_maps_website.Models
{
    public class ListSegmentInfo
    {
        private List<SegmentInfo> segmentInfoList;

        public List<SegmentInfo> SegmentInfoList
        {
            get { return segmentInfoList; }
            set { segmentInfoList = value; }
        }

        public ListSegmentInfo()
        {
            segmentInfoList = new List<SegmentInfo>();
        }

        public int getSize()
        {
            return segmentInfoList.Count;
        }
        public void addSegmentInfo(SegmentInfo segment)
        {
            segmentInfoList.Add(segment);
        }
        
    }
}
